<div class="content-box">

    <div class="content-header">
        <h3>OoopS!!!!!</h3>
    </div>

    <?php echo $this->message ?>
    <h3>Agrega a  <?php echo $this->wantedFriend->profile->name . ", " . $this->wantedFriend->profile->surname ?> </h3>
    <?php if (Friendship::checkFriendStatus($this->wantedFriend->id) == 0): ?>
        <td>Ya eres amigo!!</a></td>
    <?php endif; ?>

    <?php if (Friendship::checkFriendStatus($this->wantedFriend->id) == 1): ?>
        <td>Solicitud Enviada</a></td>
    <?php endif; ?>

    <?php if (Friendship::checkFriendStatus($this->wantedFriend->id) == 2): ?>
        <td><a class="addFriend" href="/friendship/acceptfriend/id/<?php echo $this->wantedFriend->id; ?>">Aceptar Solicitud</a></td>
    <?php endif; ?>

    <?php if (Friendship::checkFriendStatus($this->wantedFriend->id) == 3): ?>
        <td><a class="addFriend" href="/friendship/addfriend/id/<?php echo $this->wantedFriend->id; ?>">Agregar Amigo</a></td>
    <?php endif; ?>





</div>